from django.conf.urls import url, include

from apps.position import views

urlpatterns = [
    url(r'^createposition/$', views.CreatePositionView.as_view(), name='create_position'),  # 发布新职位
    url(r'^createpositionsuccess/$', views.CreatePositionSuccessView.as_view(), name='create_position_success'),# 发布新职位成功
    url(r'^positionvalid/$', views.PositionValidView.as_view(), name='position_valid'),  # 有效职位
    url(r'^positiondownline/$', views.PositionDownlineView.as_view(), name='position_down'),  # 下线职位
    url(r'^joblist/(?P<category_id>\d+)/(?P<page_num>\d+)/$', views.PositionListView.as_view(), name='job_list'),# 职业列表
    url(r'^jobdetail/(?P<position_id>\d+)/$', views.PositionDetailView.as_view(), name='job_detail'),  # 详情页
    url(r'^informinterview/$', views.InformInterviewView.as_view(), name='inform_interview'),  # 通知面试简历
    url(r'^unableresume/$', views.UnableResumeView.as_view(), name='unable_resume'),  # 不合适简历
    url(r'^collectpos/$', views.CollectPosView.as_view(), name='collect_pos'),  # 收藏职位
]
